﻿using ControleRepresentante.Logic.Models;

namespace WebSite.ViewModels
{
    public abstract class CRUDViewModel
    {
        public ModelBase Model { get; set; }
        public string ControllerName { get; set; }
        public string Message { get; set; }
        public string Title { get; private set; }

        protected CRUDViewModel(string title, string message = null)
        {
            Title = title;
            Message = message;
        }
    }
}